<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    request.setAttribute("basePath",basePath);
%>
<%@ include file="/resources/js/easyui/taglibs.jsp"%>
<%@ include file="/resources/js/wechat/_wechatui.jsp"%>
<%@ include file="/resources/js/easyui/_viewJS.jsp"%>
<!DOCTYPE>
<html>
<head>
    <title>场地</title>
</head>
<body>
<div class="loading"></div>
<!-- header -->
<header>
    <a href="${basePath}wechat/income/accounts/mainView" class="top_fh">场地</a>
    <a href="JavaScript:;" class="top_add"></a>
    <a href="${basePath}wechat/operate/search/searchDeviceView" class="top_search"></a>
</header>
<!-- header end -->

<div class="page">
    <div class="homecd_inner">
        <div class="tcbanner"><img src="${basePath}/resources/images/wechat/cd_banner.png" alt=""></div>
        <div class="cd_list">
            <ul>
                <c:forEach items="${list}" var="place" varStatus="status">
                <li><a href="${basePath}wechat/operate/place/${place.placeid}/showView/${status.index+1}"><i>${status.index+1}</i><p>${place.address}</p></a></li>
                </c:forEach>
            </ul>
        </div>
        <div class="homecd_add"><a href="${basePath}wechat/operate/place/addView">添加场地</a></div>
    </div>
</div>

<!-- footer -->
<div class="zmxq_footer home_footer">
    <a href="${basePath}wechat/operate/device/listView">设备</a>
    <a href="${basePath}wechat/operate/place/listView" class="cur">场地</a>
</div>
<!-- footer end -->

<!-- top加号弹窗 -->
<%@include file="/WEB-INF/jsp/wechat/_top.jsp"%>
<!-- top加号弹窗 end -->
</body>
</html>